home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / sky-chopper.swf / scripts / frame_336 / PlaceObject2_2061_210 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2005-09-29  |  401 b   |  17 lines

  1. onClipEvent(enterFrame){
  2.    if(!_root.gamePaused)
  3.    {
  4.       if(this._name != "weapon_bolt")
  5.       {
  6.          this._x += this.z * 10;
  7.          this._y += this.n * 10;
  8.          _root.enemyCheckHit(this);
  9.          if(this._x >= 560 || this._x <= 0 || this._y < 0 || this._y > 360)
  10.          {
  11.             _root.bulletCount--;
  12.             this.removeMovieClip();
  13.          }
  14.       }
  15.    }
  16. }
  17.